package com.ruoyi.oa.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;
import com.ruoyi.workflow.domain.ActBusinessStatus;


/**
 * 合同申请视图对象 oa_purchase_contact
 *
 * @author ruoyi
 * @date 2023-04-25
 */
@Data
@ExcelIgnoreUnannotated
public class OaPurchaseContactVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
//    @ExcelProperty(value = "主键")
    private String id;


    /**
     * 申请事由
     */
    private String applyReason;


    /**
     * 部门id
     */
    private Long deptId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 比价图片
     */
    private String parityPhoto;

    /**
     * 合同附件
     */
    private String contactFile;

    /**
     * 项目名称
     */
    @ExcelProperty(value = "项目名称")
    private String projectName;


    /**
     * 业务状态实体对象
     */
    private ActBusinessStatus actBusinessStatus;

    /**
     * 创建时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm",timezone="GMT+8")
    @ExcelProperty(value = "提交日期")
    @ColumnWidth(20)
    private Date createTime;

    @ExcelProperty(value = "提交人")
    private String createBy;

    /**
     * 更新者
     */
    private String updateBy;

    /**
     * 更新时间
     */
    private Date updateTime;
}
